[IA64] Presently pygrub only looks in /efi/redhat/elilo.conf. It
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 3 May 2007 08:33:12 +0000 (09:33 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 3 May 2007 08:33:12 +0000 (09:33 +0100)
should check for other distributions, plus a couple fallback
locations.

Signed-off-by: Aron Griffis <aron@hp.com>
tools/pygrub/src/pygrub

index 76eb313c3047444bfa9c454d115459947b2e717f..22b2707c5cee6dcfa239301273c5bed03cd516cf 100644 (file)
@@ -361,7 +361,12 @@ class Grub:
 
         if platform.machine() == 'ia64':
             self.cf = grub.LiloConf.LiloConfigFile()
-            file_list = ("/efi/redhat/elilo.conf",)
+            # common distributions
+            file_list = ("/efi/debian/elilo.conf", "/efi/gentoo/elilo.conf", 
+                         "/efi/redflag/elilo.conf", "/efi/redhat/elilo.conf", 
+                         "/efi/SuSE/elilo.conf",)
+            # fallbacks
+            file_list += ("/efi/boot/elilo.conf", "/elilo.conf",)
         else:
             self.cf = grub.GrubConf.GrubConfigFile()
             file_list = ("/boot/grub/menu.lst", "/boot/grub/grub.conf",